package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.OperationLogs;
import com.example.mall.dto.OperationLogsDto;
import com.example.mall.query.OperationLogsQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 操作日志表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-16
 */
public interface IOperationLogsService extends IService<OperationLogs> {

    //分页查询操作日志表信息
    PageDTO<OperationLogsDto> queryPage(OperationLogsQuery operationLogsQuery);

    //新增操作日志表
    void insert(OperationLogsDto operationLogsDto);
    //修改操作日志表信息
    void update(OperationLogsDto operationLogsDto);
    //删除操作日志表信息
    void delete(Long operationId);
    //批量删除操作日志表信息
    void deleteBatch(List<Long> operationIds);
    //根据id查询操作日志表信息
    OperationLogs queryOperationLogsById(Long operationId);

    //查询全部操作日志表信息
    List<OperationLogs> queryOperationLogsList();
}
